package com.model.xmlElement.output;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
 * *********************************************
 * @author Administrator
 * @FileName WriteFileRule.java
 * @DescriptionXML配置之文件规则
 **********************************************
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class WriteFileRule implements Serializable{
	public static final Logger LOG = LoggerFactory.getLogger(WriteFileRule.class);
	private static final long serialVersionUID = 1L;
	
	@XmlElement(name = "rule_name")
	private String ruleName;								//规则名称
	@XmlElement(name = "rule_value")
	private String ruleValue;								//规则值
	public String getRuleName() {
		return ruleName;
	}
	public void setRuleName(String ruleName) {
		this.ruleName = ruleName;
	}
	public String getRuleValue() {
		return ruleValue;
	}
	public void setRuleValue(String ruleValue) {
		this.ruleValue = ruleValue;
	}
	
	public WriteFileRule() {
		super();
	}
	public WriteFileRule(String ruleName, String ruleValue) {
		super();
		this.ruleName = ruleName;
		this.ruleValue = ruleValue;
	}
	@Override
	public String toString() {
		return "WriteFileRule [ruleName=" + ruleName + ", ruleValue="
				+ ruleValue + "]";
	}
	
}
